<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
</head>
<body>
<table border width="80%">
    <tr>
        <th>图片</th>
        <th>视频名称</th>
        <th>视频类型</th>
        <th>简介</th>
        <th>下载地址</th>
        <th>视频推荐</th>
        <th>操作</th>
    </tr>
    <!--可以接受$users变量-->
    <?php if(is_array($videos)): $i = 0; $__LIST__ = $videos;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
            <td><img src="/Appstore/Public/Uploads/photo/<?php echo ($vo["pic"]); ?>" width="35%"></td>
            <!--/Appstore/Public表示public目录-->
            <td><?php echo ($vo["videoname"]); ?></td>
            <td>
                <?php if($vo["videotype"] == 0): ?>电影
                    <?php elseif($vo["videotype"] == 1): ?>动漫
                    <?php else: ?>电视剧<?php endif; ?>
            </td>
            <td><?php echo ($vo["intro"]); ?></td>
            <td><?php echo ($vo["address"]); ?></td>
            <td>
                <?php if($vo["isfirst"] == 0): ?>否
                    <?php else: ?>是<?php endif; ?>
            </td>
            <td>修改<br>
                删除<br>
                取消视频推荐<br>
            </td>
        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</body>
</html>